🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / feature / wifi-provision / src / commonMain / kotlin / org / meshtastic / feature / wifiprovision / navigation / WifiProvisionNavigation.kt
Displaying Raw • Download
feature/wifi-provision/src/commonMain/kotlin/org/meshtastic/feature/wifiprovision/navigation/WifiProvisionNavigation.kt renovate/actions-setup-java-5.x (f17e586c) Text, 1.84 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.feature.wifiprovision.navigation
Tff7b72import T7ee787androidx.lifecycle.compose.dropUnlessResumed
Tff7b72import T7ee787androidx.navigation3.runtime.EntryProviderScope
Tff7b72import T7ee787androidx.navigation3.runtime.NavBackStack
Tff7b72import T7ee787androidx.navigation3.runtime.NavKey
Tff7b72import T7ee787org.meshtastic.core.navigation.WifiProvisionRoute
Tff7b72import T7ee787org.meshtastic.feature.wifiprovision.ui.WifiProvisionScreen
T8b949e/**
* Registers the WiFi provisioning graph entries into the host navigation provider.
*
* Both the graph sentinel ([WifiProvisionRoute.WifiProvisionGraph]) and the primary screen
* ([WifiProvisionRoute.WifiProvision]) navigate to the same composable so that the feature can be reached via either a
* top-level push or a deep-link graph push.
*/
Tff7b72fun Td2a8ffEntryProviderScopeTff7b72<Te6edf3NavKeyTff7b72>Tb4b4b4.Te6edf3wifiProvisionGraphTb4b4b4(Te6edf3backStackTb4b4b4: Te6edf3NavBackStackTff7b72<Te6edf3NavKeyTff7b72>Tb4b4b4) Tb4b4b4{
Te6edf3entryTff7b72<Te6edf3WifiProvisionRouteTb4b4b4.Te6edf3WifiProvisionGraphTff7b72> Tb4b4b4{
Te6edf3WifiProvisionScreenTb4b4b4(Te6edf3onNavigateUp Tff7b72= Te6edf3dropUnlessResumed Tb4b4b4{ Te6edf3backStackTb4b4b4.Te6edf3removeLastOrNullTb4b4b4(Tb4b4b4) Tb4b4b4}Tb4b4b4)
Tb4b4b4}
Te6edf3entryTff7b72<Te6edf3WifiProvisionRouteTb4b4b4.Te6edf3WifiProvisionTff7b72> Tb4b4b4{ Te6edf3key Tff7b72-Tff7b72>
Te6edf3WifiProvisionScreenTb4b4b4(Te6edf3onNavigateUp Tff7b72= Te6edf3dropUnlessResumed Tb4b4b4{ Te6edf3backStackTb4b4b4.Te6edf3removeLastOrNullTb4b4b4(Tb4b4b4) Tb4b4b4}Tb4b4b4, Te6edf3address Tff7b72= Te6edf3keyTb4b4b4.Te6edf3addressTb4b4b4)
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.05s